#include
<iostream.h>
class Computer Standard
way of defining the class
{ public: This means
that all of the functions below this(and any variables) are accessible to the rest
of the program.
Computer(); Constructor
~Computer(); Destructor
void setspeed(int p); These functions will be defined
int readspeed(); outside of the class
protected: This means that all the variables under
this, until a new type of restriction is placed, will only be accessible
to other functions in the class.
int processorspeed;
};